﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

namespace Quản_Lý_Thư_Viện
{
    class TacgiaControl
    {
        private TacgiaDataAccess tacgiadata = new TacgiaDataAccess();
        public void inserttacgia(tacgiainfo info)
        {
            tacgiadata.inserttacgia(info);
        }
        public void updatetacgia(tacgiainfo info)
        {
            tacgiadata.updatetacgia(info);
        }
        public void deletetacgia(tacgiainfo info)
        {
            tacgiadata.deletetacgia(info);
        }
        public DataTable LayDSTacgia()
        {
            return tacgiadata.LayDSTacgia();
        }
        public DataTable timtg()
        {
            return tacgiadata.timtg();
        }
    }
}
